package com.mwh.yuantu.service;

import lombok.Data;

@Data
public class BaseConstant {

	public final static String ID = "id";
	public final static String STATUS = "status";
	public final static String CREATED_AT = "chuang_jian_shi_jian";
	public final static String CREATOR = "creator";
	public final static String UPDATOR = "updator";
	public final static String UPDATED_AT = "updated_at";
	public final static String LIST = "list";
	public final static String COUNT = "count";
	public final static String  NOT_READ_COUNT= "unRead";
	public final static String PARENT_ID = "parent_id";
	public final static String NAME = "name";
	public final static String SORT_NO = "sort_no";
	public final static String TYPE_ID = "type_id";

	public final static String TREE_IS_LEAF = "isLeaf";
	public final static String TREE_KEY = "key";
	public final static String TREE_TITLE = "title";
	public final static String TREE_ICON = "icon";
	public final static String TREE_CHILDREN = "children";
	public final static String TREE_ORIGIN = "origin";

	public final static String METADATA_CONSTRAINT_TYPE_RANGE = "值域";
	public final static String METADATA_CONSTRAINT_TYPE_REGEX = "正则表达式";

	// 断点续传相关
	public final static String APP_FILES = "appfiles";
	public final static String MERGE = "merge";

	public final static String ROLE_CODE_SYSTEM_ADMIN = "admin";
	public final static String ROLE_CODE_SYSTEM_USER = "SYSTEM_USER";
	public final static String ROLE_CODE_DATABASE_ADMIN = "DATABASE_ADMIN";
	public final static String ROLE_CODE_SECURITY_SECRET = "SECURITY_SECRET";
	public final static String ROLE_CODE_SECURITY_AUDIT = "SECURITY_AUDIT";

	public final static String AUDIT_EVENT_TYPE_CREATE = "添加";
	public final static String AUDIT_EVENT_TYPE_DELETE = "删除";
	public final static String AUDIT_EVENT_TYPE_MODIFY = "更新";
	public final static String AUDIT_EVENT_TYPE_SEARCH = "查询";
	public final static String AUDIT_EVENT_TYPE_IMPORT = "导入";
	public final static String AUDIT_EVENT_TYPE_EXPORT = "导出";

	public final static String SYSTEM_LEVEL_ORGANIZATION = "organization";
	public final static String SYSTEM_LEVEL_USER = "user";

	public final static String WORKSPACE_VISIBILITY_PUBLIC = "PUBLIC";
	public final static String WORKSPACE_VISIBILITY_PRIVATE = "PRIVATE";
	public final static String STATUS_NORMAL = "normal";

	public final static String ROLE_CODE_WORKSPACE_ADMIN = "WORKSPACE_ADMIN";
	public final static String ROLE_CODE_WORKSPACE_USER = "WORKSPACE_USER";

	public final static String WORKSPACE_DASHBOARD_ROUTE_FORMAT = "/wk/%s/%s-dashboard";

	public final static String COMPARISON_STATUS_UNPLAYED = "未开始";
	public final static String COMPARISON_STATUS_UNDERWAY = "进行中";
	public final static String COMPARISON_STATUS_COMPLETED = "已完成";

	public final static String USER_ID_SYSTEM = "admin";
	public final static String USER_ID_SECURITY = "security";
	public final static String USER_ID_AUDIT = "audit";

	public final static String PASSWORD_INIT = "123456";
	public final static String USER_STATUS_NORMAL = "0";
	public final static String USER_STATUS_REMOVED = "1";

	public final static String LIMIT_ONE = "limit 1";

	public final static String COMPARISON_OPERATION_EQ = "等于";
	public final static String COMPARISON_OPERATION_LIKE = "包含";
	public final static String COMPARISON_OPERATION_GE = "大于";
	public final static String COMPARISON_OPERATION_LE = "小于";
	public final static String COMPARISON_OPERATION_NE = "不等于";
	public final static String COMPARISON_OPERATION_TARGET_FIELD = "等于对象表字段";
	public final static String COMPARISON_OPERATION_TARGET_FIELD_GE = "大于对象表字段";
	public final static String COMPARISON_OPERATION_TARGET_FIELD_LE = "小于对象表字段";
	public final static String COMPARISON_OPERATION_TARGET_FIELD_NE = "不等于对象表字段";
	public final static String COMPARISON_OPERATION_TARGET_FIELD_LIKE = "包含对象表字段";

	public final static String CHECK_STATUS_UNDERWAY = "进行中";
	public final static String CHECK_STATUS_DONE = "已完成";

	public final static String QUARTZ_JOB_STATUS_NORMAL = "已启动";
	public final static String QUARTZ_JOB_STATUS_STOP = "已暂停";

	public final static String SYSTEM_CODE_SUPERVISION = "supervision";
	public final static String SYSTEM_CODE_GOVERN = "govern";
	public final static String SYSTEM_CODE_VERIFICATION = "verification";

    public final static String SYSTEM_CODE_SEARCH = "search";

    public final static String SYSTEM_CODE_JOIN = "join";
	public final static String GOVERN_STATUS_UNRECEIVED = "待接收";
	public final static String GOVERN_STATUS_UPLOADED = "已上传";
	public final static String GOVERN_STATUS_UNDERWAY = "进行中";
	public final static String GOVERN_STATUS_RECEIVED = "已接收";
	public final static String GOVERN_STATUS_DONE = "已完成";

	public final static String WEI_FA_QING= "0";
	public final static String FA_QING= "1";
	public final static String PEI_ZHONG = "2";
	public final static String HUAI_YUN = "3";
	public final static String BAO_YUN = "4";
	public final static String DING_TAI = "5";
	public final static String WEI_DING_TAI = "6";
	public final static String LIU_CHAN = "7";
	public final static String CHAN_DU = "8";
	public final static String[] ziDianCodeList = {"ZhongZhiZhongLei" , "ShengChuRuLan", "JiHuaZhongLei"
			, "TuDiXingZhi", "BuMen", "XiangZhenQuYu", "SheShiLeiBie", "ShengChuJiBing", "ChengBaoFang"
			, "RenYuanLeiXing", "XiangZhen", "ChanPinLeiXing"};

	public final static String[] ziDianLists = {"种植种类" , "牲畜入栏", "计划种类"
			, "土地性质", "部门", "乡镇区域", "设施类别", "牲畜疾病", "承包方"
			, "人员类型", "乡镇场", "产品类型"};

	//牲畜相关农资产品门类
	public static String[] shengChuNongZi = {"ChuMuGongJu_ChanPinLeiXing" , "ChuMuChanPin_ChanPinLeiXing"
			, "MuCaoLei_ChanPinLeiXing" , "SiLiao_ChanPinLeiXing" , "ShouYao_ChanPinLeiXing" , "ChuMuChanChuPin_ChanPinLeiXing"};

}
